import {RequestParam,HttpRequest} from '@/utils/http'

/**
 * 门店服务
 */
export const ShopService = {
	// 门店信息
	getShop: function() {
		const request = new RequestParam();
		request.url = "/api/shop/info.do";
		return HttpRequest(request);
	},
	// 测距离
	getDistance(from){
		const request = new RequestParam();
		request.url = "/api/shop/distance.do";
		request.param={from:from};
		return HttpRequest(request);
	}
}
